package com.lt.bcra.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.time.LocalDateTime;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 个人健康信息表
 * </p>
 *
 * @author LuoTian
 * @since 2022-05-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="BcraHealthInformation对象", description="个人健康信息表")
public class BcraHealthInformation implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "个人信息健康表id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "您是否服用口服避孕药")
    private String isAcyeterion;

    @ApiModelProperty(value = "您是否使用过激素替代疗法")
    private String isHormoneTherapy;

    @ApiModelProperty(value = "请说明使用激素替代疗法的原因")
    private String hormoneTherapyReason;

    @ApiModelProperty(value = "您是否接受过胸部放疗？")
    private String isChestRadiotherapy;

    @ApiModelProperty(value = "请说明接受胸部放疗的原因")
    private String chestRadiotherapyReason;

    @ApiModelProperty(value = "请说明接受胸部放疗的年龄")
    private String chestRadiotherapyAge;

    @ApiModelProperty(value = "您是否曾在钼靶检查中被医生告知“乳腺组织致密”")
    private String isDenseBreastTissue;

    @ApiModelProperty(value = "您是否接受过乳腺活检")
    private String breastBiopsyCount;

    @ApiModelProperty(value = "您的乳腺活检结果是")
    private String breastBiopsyResult;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill= FieldFill.INSERT)//创建时候自动填充时间
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")// 表示接收时间类型
    private LocalDateTime createTime;

    @ApiModelProperty(value = "修改时间")
    @TableField(fill= FieldFill.INSERT_UPDATE)//创建和修改时候自动填充时间
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")// 表示接收时间类型
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "编辑者")
    private String editor;

    @ApiModelProperty(value = "编辑者主键")
    private Integer editoId;

    @ApiModelProperty(value = "对应模块标题")
    private String moduleTitle;

    @ApiModelProperty(value = "模块id")
    private Integer moduleId;

    @ApiModelProperty(value = "逻辑删除")
    @TableField(value = "is_deleted",fill= FieldFill.INSERT)//创建时候自动填充逻辑删除标识
    @TableLogic
    private Boolean deleted;

    @ApiModelProperty(value = "问卷编号")
    private String questionnaireCode;


}
